package com.android.net.service

import android.content.Context
import com.android.net.listener.OnAllDownloadsCompleteListener
import com.camera.base.bean.DownloadState
import com.camera.base.inerface.DownloadCallback
import com.camera.routemodule.routeinterface.BDLocationListener

interface DownloadBinderImpl {
    fun init(context: Context?)
    fun startDownload(downloadUrl: String, localPath: String, callback: DownloadCallback)
    fun pauseDownload(fileName: String)
    fun resumeDownload(fileName: String)
    fun cancelDownload(fileName: String)
    fun setOnAllDownloadsCompleteListener(listener: OnAllDownloadsCompleteListener)
    fun getDownloadStateByPath(filePath: String): DownloadState?
}